package com.dreamlin.okhttp;

import com.google.gson.JsonObject;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;

public interface Api {

    @GET("v2/banners")
    Call<BaseEntity<List<GirlEntity>>> listGirls(@Header("aaa") String ssss);

    //@POST
    @POST("aaa/bbb")
    Call<BaseEntity<List<GirlEntity>>> postJson(@Body JsonObject body);

}
